<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>

<html>
<head>
    <title>Web page</title>

<style type="text/css">
    body{
        background: #999;
        margin: 0;
    }
    #wrapper{
        background: #fff;
        border: 1px solid #000;
        margin: 10%;
    }
    #form{
        margin: 5% auto;
        width: 17%;
    }
    #history{
        background: #cccccc;
        border: 1px solid #000;
        margin: 3% auto;
        width: 50%;
    }
</style>

</head>
<body>
    <div id="wrapper">
        <div id="form">
            <h4>Input your text here: (Текст сюда)</h4>
            <form action="send" method="post">
                <textarea name="message" rows="5" cols="25"></textarea>
                <input type="submit" value="Send" />
            </form>
            <a href="clear">Clear</a>
        </div>
        <div id="history">
            <c:out value="${sessionText}" />
        </div>

    </div>
</body>
</html>